<?php


namespace app\shop\model;

use think\Model;

class UserModel extends Model
{
    protected $pk = 'user_id';
    protected $table = 'dp_user';
    protected $field = true;

    public static function getList($map=[])
    {
        return self::order('user_id desc')->where($map)->paginate(20);
    }


}